package com.ns.basic.dict.bo;

import com.ns.core.bo.BaseBO;
import com.ns.core.utils.StpUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 字典请求实体
 *
 * @author : liaowei
 * @version : v1.0.0
 * @since : 2024-08-31 11:54:35
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@Accessors(chain = true)
public class DictBO extends BaseBO {

    private Long id;
    /**
     * 字典名
     */
    private String name;
    /**
     * 字典code
     */
    private String code;

    /**
     * 所属服务
     */
    private Long sid = StpUtil.getSid();

    /**
     * 所属租户
     */
    private Long rid = StpUtil.getRid();
}
